package cn.cit.training.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author aa
 * @since 2020-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cit_data")
@ApiModel(value="CitData对象", description="")
public class CitData implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("p_id")
    private Integer pId;

    @TableField("sex")
    private Integer sex;

    @TableField("year")
    private Integer year;

    @TableField("t_travel")
    private Integer tTravel;

    @TableField("t_duration")
    private Integer tDuration;


    public static final String ID = "id";

    public static final String P_ID = "p_id";

    public static final String SEX = "sex";

    public static final String YEAR = "year";

    public static final String T_TRAVEL = "t_travel";

    public static final String T_DURATION = "t_duration";

}
